home *** CD-ROM | disk | FTP | other *** search
INI File | 1998-11-24 | 8.7 KB | 377 lines |
- ;; Copyright (c) 1997, Qualcomm, Inc.
- ;; All Rights Reserved.
-
- ;; This file contains routines common to all our style files.
-
- ;;*************************************************************************
- [copyright]
- font=1:1
- text1=left bottom ("Copyright © " @actualyear ", Qualcomm, Inc.")
- text2=right bottom (@actualdate " " @actualtime)
-
- ;;*************************************************************************
- [weekstickies]
- font=1:10
- data=setdayview
- event=sticky
- sticky=week insidesticky
-
- [stickies]
- font=1:10
- data=setdayview
- event=sticky
- sticky=month insidesticky
-
- [insidesticky]
- box1={ 20 1000 20 1000} black
- font=event
- brush=?@iscolor eventbackground
- pen=?@iscolor event
- layer={0 980 0 980} insidesticky2
-
- [insidesticky2]
- box2=
- stream= (@tl ? @ds (" - " @ds) "")
-
- ;;*************************************************************************
- ;; Assumes you pass an 8 1/2 by 11 inch paper
- [threehole811]
- layer1={1 30 22:275 31:275} dohole
- layer2={1 30 134:275 142:275} dohole
- layer3={1 30 244:275 253:275} dohole
-
- ;;*************************************************************************
- [dohole]
- circle=6
- grid1=2 1
- grid2=1 2
-
- ;;*************************************************************************
- ;; This is the standard Month Thumbnail, plus a colored one for wiziwig.
- ;; YOU must set month or year view before calling any thumbnail
-
- [insetthumbnail]
- box={20 990 20 990}
- layer={20 990 20 990} thumbnail
-
- [thumbnail]
- return=@height
- data=nodata
- font=1:1
- layer1={0 1:1 0 3:20} monthname
- layer2={0:7 7:7 3:20 5:20} week
- grid={0 1:1 5:20 1:1} 7 #weeksinmonth 0 days
-
- [thumbnail3]
- return=@height
- data=nodata
- font=1:1
- layer1={0 1:1 0 3:20} monthname3
- layer2={0:7 7:7 3:20 5:20} week
- grid={0 1:1 5:20 1:1} 7 #weeksinmonth 0 days
-
- [thumbmonnail]
- return=@height
- data=nodata
- font=1:1
- layer1={0 1:1 0 3:20} monthmonname
- layer2={0:7 7:7 3:20 5:20} week
- grid={0 1:1 5:20 1:1} 7 #weeksinmonth 0 days
-
- [thumbmon3nail]
- return=@height
- data=nodata
- font=1:1
- layer1={0 1:1 0 3:20} month3name
- layer2={0:7 7:7 3:20 5:20} week
- grid={0 1:1 5:20 1:1} 7 #weeksinmonth 0 days
-
- [thumbnailgray]
- return=@height
- data=nodata
- font=1:1
- layer1={0 1:1 0 3:20} monthname
- layer2={0:7 7:7 3:20 5:20} week
- grid={0 1:1 5:20 1:1} 7 #weeksinmonth 0 testdaysgray
-
- [days]
- layer= = @currentmonth @month daysbold
-
- [testdaysgray]
- layer= = @currentmonth @month daysbold daysgray
-
- [daysbold]
- text=@day
-
- [daysgray]
- box=lightgray
- text=@day
-
- [monthname]
- message=(@currentmonth " " @currentyear)
- text={5:100 95:100 5:100 95:100} (@currentmonth " " @currentyear)
-
- [monthname3]
- message=(@currentmonth3 " " @currentyear)
- text={5:100 95:100 5:100 95:100} (@currentmonth3 " " @currentyear)
-
- [monthmonname]
- message=@currentmonth
- text={5:100 95:100 5:100 95:100} @currentmonth
-
- [month3name]
- message=@currentmonth3
- text={5:100 95:100 5:100 95:100} @currentmonth3
-
- [week]
- frame=
- grid= 7 1 0 weekdayname @setweekview
-
- [weekdayname]
- text1= @weekday1
-
- ;;*************************************************************************
- [hourstuff24]
- box=
- font=loose 1:2
- grid=1 24 hour @sethourview
-
- ; ------------------------------------------------------------------------
- [hourstuff]
- box=
- font=loose 2:5
- grid=1 #daylength hour @sethourview @nextdaystart
-
- [hour]
- text=(@hour @ampm)
-
- ;;*************************************************************************
- ;; special one for the month thumbnails in wiziwig views
-
- [quickmonthgrid]
- return=@height
- data=nodata
- area=thumbnail
- font=1:1 font
- pen=monthnametextcolor
- grid=#w_monx #w_mony 0 quickcolorthumbnail nextmonth
-
- [monthgrid]
- return=@height
- data=nodata
- area=thumbnail
- font=1:1 font
- pen=monthnametextcolor
- grid=#w_monx #w_mony 1 reducedcolorthumbnail nextmonth
-
- [quickcolorthumbnail]
- return=@height
- data=nodata
- font=1:1
- layer1={0 1000 0 1:8} colormonthname
- layer2={0 1000 1:8 2:8} weeknoframe
- box={0 1000 19:80 2:8} black
- grid={0 1000 2:8 8:8} 7 6
-
- [reducedcolorthumbnail]
- layer={20 980 20 980} colorthumbnail
-
- [colorthumbnail]
- return=@height
- data=nodata
- font=1:1
- layer1={0 1000 2:80 13:80} colormonthname
- layer2={0 1000 14:80 20:80} weeknoframe
- box={0 1000 19:80 20:80} black
- grid={0 1000 20:80 80:80} 7 #weeksinmonth 0 ? @iscolor tndaysgray tn2daysgray
-
- [colormonthname]
- message=(@currentmonth " " @currentyear)
- text=(@currentmonth " " @currentyear)
-
- [weeknoframe]
- pen=daylabeltextcolor
- grid= 7 1 0 tnweekdays @setweekview
-
- [tnweekdays]
- text= @weekday1
-
- [tndaysgray]
- layer1= = @currentmonth @month tndaysbold tndaysouter
- layer2= ? @istoday =@currentmonth @month boxer
-
- [tn2daysgray]
- layer1= = @currentmonth @month daysbold
- layer2= ? @istoday =@currentmonth @month boxer
-
- [tndaysbold]
- pen= ? @isweekend ? @istoday todaytextcolor weekendtextcolor ? @istoday todaytextcolor weekdaytextcolor
- text= @day
-
- [tndaysouter]
- pen=?@iscolor seethroughtextcolor
- text=@day
-
- [boxer]
- pen=?@iscolor todaytextcolor
- frame=
-
- ; **************************************************************************
- ; shared todo area on many WIZIWIG views
-
- [wizitodos]
- return=@height
- layer2={ 0 1000 #w_p4 1000 } wizitodos2
- ;; DO THIS SECOND BECAUSE IT CHANGES THE VIEW!!
- layer1={ 0 1000 0 #w_p4 } monthgrid @setmonthview
-
- [wizitodos2]
- data=setactualday
-
- area1=todoheading
- font1=1:1 font
- pen1=textcolor
- layer1={0 1000 0 85} wizitodotitle
-
- area2=todo
- font2=font
- pen2=textcolor
- layer2={0 1000 85 1000} wizitodolist
-
- [wizitodolist]
- event=todolist
- font=fixed 1:20
- simplestack=null wizicols
-
- [wizicols]
- ;;;; old way
- ;;;;column=0 #w_p2 cevent1 #w_p2 #w_p3 cevent2 #w_p3 1000 eventlister
- layer=todolister
-
- ;; I don't think anyone calls this...
- [cevent1]
- layer==@tp "todo" cevent1todo cevent1call
-
- [cevent1todo]
- bitmap={1:30 29:30 1:20 29:30} top = @cp "completed" todocomplete = @cp "inprogress" todoinprogress todonotdone
-
- [cevent1call]
- bitmap={1:30 29:30 1:20 29:30} top = @cp "completed" callcomplete = @cp "inprogress" callinprogress callnotdone
-
- ;; I don't think anyone calls this...
- [cevent2]
- font=event
- brush=?@iscolor eventbackground
- pen=event
- stream=@pr
-
- [eventlister]
- layer= = @tp "banner" eventlisternotime = @tp "special" eventlisternotime = @tp "sticky" eventlisternotime = @tp "holiday" eventlisternotime eventlistertime
-
- [eventlistertime]
- font=event
- brush=?@iscolor eventbackground
- pen=event
- stream= rest 1:20 ( ? @stm (= @stm @etm "" = @timeformat "NONE" "" = @timeformat "STARTEND" (@shr12":"@smn@sampm" - "@ehr12":"@emn@eampm " ") (@shr12":"@smn@sampm " ")) "") @tl ? @showdescription (? @ds (" - " @ds) "") hardbreak
-
- [eventlisternotime]
- font=event
- brush=?@iscolor eventbackground
- pen=event
- stream= rest 1:20 (@tl ? @showdescription (? @ds (" - " @ds) "" )) hardbreak
-
- ;;-----------------------------------------------------------------------------
- [todotitle0]
- box=
- message=("To-Do List - " @monthint "/" @day "/" @year)
- text=("To-Do List - " @monthint "/" @day "/" @year)
-
- [todotitle1]
- box=
-
- [todotitle2]
- box=
- text=("Priority")
-
- [todotitle3]
- box=
- text=("Title")
-
- [todotitle4]
- box=
- text=("Cat.")
-
- [todotitle5]
- box=
- text=("Due")
-
- [todotitle6]
- box=
- text=("Start")
-
- [todotitle7]
- box=
- text=("Compl.")
-
- [shorttodolistertitle]
- layer1={0 70 0 1000} todotitle1
- layer2={70 360 0 1000} todotitle2
- layer3={360 1000 0 1000} todotitle3
-
- [shorttodolister]
- font=event
- brush=?@iscolor eventbackground
- pen=event
- column=70 360 todocol1 0 70 todocol0 360 1000 eventlister
-
- ;;-----------------------------------------------------------------------------
- [todolistertitle]
- ;; these widths match todolister
- layer1={0 40 0 1000} todotitle1
- layer2={40 220 0 1000} todotitle2
- layer3={220 600 0 1000} todotitle3
- layer4={600 875 0 1000} todotitle4
- layer5={875 1000 0 1000} todotitle5
- ;;;;layer6={800 900 0 1000} todotitle6
- ;;;;layer7={900 1000 0 1000} todotitle7
-
- [todolister]
- font=event
- brush=?@iscolor eventbackground
- pen=event
- column=40 220 todocol1 0 40 todocol0 220 600 eventlister 600 875 todocol2 875 1000 todocol3
-
- [todocol0]
- layer={0 1000 0 streambottom} =@tp "todo" cevent1todo =@tp "call" cevent1call
-
- [todocol1]
- stream==@tp "todo" @pr =@tp "call" @pr @tp
-
- [todocol2]
- stream = @pcat
-
- [todocol3]
- stream = @sdd
-
- [todocol4]
- stream = @ssd
-
- [todocol5]
- stream = @scpd
-
- ; ------------------------------------------------------------------------
- [wizitodotitle]
- layer0={0 1000 0 4:7} todotitle0
- layer1={0 1000 4:7 1000} todolistertitle
-
- ; **************************************************************************
- ; shared title area in wiziwigs
-
- [title1]
- return=@height
- area=heading
- font=1:1 font
- pen=textcolor
- message=(@currentmonth " " @currentyear)
- text=(@currentmonth " " @currentyear)
-